﻿using System.Web;
using CY_MVC.HttpHandlers;

namespace MyControllers.news
{
    class newsdetail : PageController
    {
        protected override void Page_Load()
        {
            if (HttpContext.Current.Request.HttpMethod.ToLowerInvariant() == "get")
            {
                ViewData["id"] = HttpContext.Current.Request.QueryString["id"];
                ViewData["newslist"] = new TespLib.Dao().GetList();
            }
        }
    }
}
